<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'demo.jsp' starting page</title>
	
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style type="text/css">
	.uploadDiv{position: relative;width:380px;height:26px;padding-left:90px;line-height: 26px;border-top:1px solid #fff;}
	.ufile{filter:alpha(Opacity=0);-moz-opacity:0;opacity: 0;position: absolute;left:-10px;top: 0px;cursor: pointer;height:26px;}
	a.fbtn {position: absolute;left:0px;top: 0px;width:90px;font-size:12px;display:block;background: #9393FF;text-align: center;height:22px;text-decoration: none;margin:2px 0;line-height: 22px;}
	.rate{border:1px solid blue;width:100px;height:16px;margin:5px;font-size:12px;line-height: 16px;color:#fff;}
	</style>
  </head>
  
  <body>
 <form action="/resource/saveResourcedddd.shtml" target="ifrComposeAttachUpload" id="resourceForm"  name="frame" enctype="multipart/form-data" method="post">
       <table border="1">
          <tr>
	          <td>file</td>
	          <td>
		          <input type="text" value="" name="" id="input_test" />
		          <div id="uploadDiv" class="uploadDiv">
		                 <a href="#" class="fbtn">选择文件</a><input name="resource" value="" id="uploadFile" size="1" class="ufile" type="file"/>
		                 <div class="rate" id="rate" style="display:none;"></div>
		          </div>
	          </td>
          </tr>
       </table>
  </form>
  <iframe  style="display:none" src="about:blank" name="ifrComposeAttachUpload"></iframe>
  </body>
  
</html>
<script type="text/javascript" src="/scripts/util.js"></script>
<script type="text/javascript" src="/scripts/xhr.js"></script>
<script type="text/javascript" src="/scripts/wooboo.js"></script>
<script type="text/javascript" src="/system/config_js.shtml"></script>
<script type="text/javascript">
  new FILE({div:"uploadDiv",input:"input_test",form:"resourceForm",fileinput:"uploadFile",rate:"rate",ftp:Config["image.cache"]});

</script>
